<!doctype html>
<html>
<head>
<meta charset="gb2312">
<title> {{ config('app.name') }} </title>
<meta name="keywords" content="魂淡博客" />
<meta name="description" content="爱安全,爱编程" />
<link href="{{ asset('/css/base.css') }}" rel="stylesheet">
<link href="{{ asset('/css/index.css') }}" rel="stylesheet">

<!-- 导航引入 -->
<link href="{{ asset('/css/style.css')}}" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{{ asset('/js/jquery.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/js/sliders.js') }}"></script>

<!--[if lt IE 9]>
<script src="{{ asset('js/modernizr.js') }}"></script>
<![endif]-->
<!-- 返回顶部调用 begin -->
<script type="text/javascript" src="{{ asset('js/jquery.js') }}"></script>
<!-- 返回顶部调用 end-->
</head>

<!-- 网站头部栏目 -->
<header>
<!-- 登录注册 -->
<div id="head_login">
    <div class="w1000">
        <div id="mini">
            <a href="{{ url('/Home/userinfo') }}" target="_blank">个人中心</a>　
            　
            <a href="注册" target="_blank">注册</a> <a href="{{ URL('/login') }}"  target="_blank">
        @if(empty(session('master')))
            登录
        @else
            {{session('master') -> hd_name}}
        @endif
            </a>
        </div>欢迎光临本站！
    </div>
</div>
    <script language="javascript">
        $(document).ready(function() {
            /// 用第一层包裹每个锚的内部内容并添加背景图层
            $("#menu1 li a").wrapInner( '<span class="out"></span>' ).append( '<span class="bg"></span>' );

            // loop each anchor and add copy of text content
            $("#menu1 li a").each(function() {
                $( '<span class="over">' +  $(this).text() + '</span>' ).appendTo( this );
            });
            $("#menu1 li a").hover(function() {
                // this function is fired when the mouse is moved over
                $(".out",   this).stop().animate({'top':    '40px'},    250); // move down - hide
                $(".over",  this).stop().animate({'top':    '0px'},     250); // move down - show
                $(".bg",    this).stop().animate({'top':    '0px'},     120); // move down - show
            }, function() {
                // this function is fired when the mouse is moved off
                $(".out",   this).stop().animate({'top':    '0px'},     250); // move up - show
                $(".over",  this).stop().animate({'top':    '-40px'},   250); // move up - hide
                $(".bg",    this).stop().animate({'top':    '-40px'},   120); // move up - hide
            });
        });
    </script>
<div id="menu1" class="menu">
    <ul>
        <li><a href="{{ url('/') }}">首　　页</a></li>
        <li><a href="{{ url('/timeline') }}">留 言 板</a></li>
        <li><a href="{{ url('/timetext') }}">发布留言</a></li>
        <li><a href="{{ url('/article/add') }}">发表文章</a></li>
        <li><a href="{{ url('/Home/index') }}">心情说说</a></li>
        <li><a href="{{ url('/Home/Luck') }}">抽奖活动</a></li>
        <li><a href="{{ url('/Home/album/index') }}">相册点滴</a></li>
    </ul>
    <div class="cls"></div>
</div>

 </header>

 @yield('content')

<footer>
  <p class="ft-copyright">魂淡博客 Design by DanceSmile 蜀ICP备11002373号-1</p>
  <div id="tbox"> <a id="togbook" href="/"></a> <a id="gotop" href="javascript:void(0)"></a> </div>
</footer>
</body>
</html>